<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 53 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts53p0{position:absolute;left:106px;top:97px;}
 .ts53p1{position:absolute;left:352px;top:97px;}
 .ts53p3{position:absolute;left:672px;top:97px;}
 .ts53p7{position:absolute;left:106px;top:113px;}
 .ts53p8{position:absolute;left:706px;top:1026px;}
 .ts53p9{position:absolute;left:331px;top:1044px;}
 .ts53p13{position:absolute;left:106px;top:146px;}
 .ts53p14{position:absolute;left:106px;top:164px;}
 .ts53p16{position:absolute;left:106px;top:183px;}
 .ts53p18{position:absolute;left:106px;top:201px;}
 .ts53p19{position:absolute;left:106px;top:221px;}
 .ts53p21{position:absolute;left:106px;top:239px;}
 .ts53p23{position:absolute;left:106px;top:257px;}
 .ts53p25{position:absolute;left:106px;top:275px;}
 .ts53p27{position:absolute;left:106px;top:293px;}
 .ts53p29{position:absolute;left:106px;top:311px;}
 .ts53p30{position:absolute;left:106px;top:329px;}
 .ts53p31{position:absolute;left:106px;top:347px;}
 .ts53p34{position:absolute;left:106px;top:366px;}
 .ts53p36{position:absolute;left:106px;top:384px;}
 .ts53p37{position:absolute;left:106px;top:402px;}
 .ts53p38{position:absolute;left:106px;top:421px;}
 .ts53p39{position:absolute;left:106px;top:439px;}
 .ts53p41{position:absolute;left:106px;top:458px;}
 .ts53p42{position:absolute;left:106px;top:476px;}
 .ts53p44{position:absolute;left:106px;top:494px;}
 .ts53p45{position:absolute;left:106px;top:513px;}
 .ts53p46{position:absolute;left:106px;top:531px;}
 .ts53p48{position:absolute;left:106px;top:550px;}
 .ts53p49{position:absolute;left:106px;top:568px;}
 .ts53p50{position:absolute;left:106px;top:586px;}
 .ts53p53{position:absolute;left:106px;top:605px;}
 .ts53p54{position:absolute;left:106px;top:624px;}
 .ts53p56{position:absolute;left:106px;top:642px;}
 .ts53p58{position:absolute;left:106px;top:660px;}
 .ts53p60{position:absolute;left:106px;top:679px;}
 .ts53p62{position:absolute;left:106px;top:697px;}
 .ts53p64{position:absolute;left:106px;top:715px;}
 .ts53p66{position:absolute;left:106px;top:733px;}
 .ts53p68{position:absolute;left:106px;top:751px;}
 .ts53p70{position:absolute;left:106px;top:769px;}
 .ts53p73{position:absolute;left:106px;top:787px;}
 .ts53p76{position:absolute;left:106px;top:805px;}
 .ts53p79{position:absolute;left:106px;top:824px;}
 .ts53p83{position:absolute;left:106px;top:842px;}
 .ts53p87{position:absolute;left:106px;top:860px;}
 .ts53p89{position:absolute;left:106px;top:878px;}
 .ts53p91{position:absolute;left:106px;top:896px;}
 .ts53p93{position:absolute;left:106px;top:914px;}
 .ts53p95{position:absolute;left:106px;top:932px;}
 .ts53p97{position:absolute;left:106px;top:950px;}
 .ts53p100{position:absolute;left:106px;top:969px;}
 .ts53p102{position:absolute;left:106px;top:987px;}

 /* Font Styles */
 .ft0p53{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p53{font-weight:normal;}
 .ft2p53{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p53{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p53{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p53{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p53{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground53{position:absolute;left:97px;top:219px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index52.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;53 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index54.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground53><img src="./background53.png" width="633" height="836" border="0" alt=""></div>
<div class=ts53p0><span class="ft0p53"> </span></div>
<div class=ts53p1><span class="ft0p53">Gravitybox Schedule Primer<span class="ft1p53"> </span></span></div>
<div class=ts53p3><span class="ft0p53">Page 51&nbsp; </span></div>
<div class=ts53p7><span class="ft2p53"> </span></div>
<div class=ts53p8><span class="ft3p53"> </span></div>
<div class=ts53p9><span class="ft4p53">1998&#45;2004 Gravitybox Software LLC<span class="ft3p53"> </span></span></div>
<div class=ts53p13><span class="ft5p53">can never be toggled off. It is always saved and loaded when these methods are used. </span></div>
<div class=ts53p14><span class="ft5p53">The two code fragments that follow are equivalent. The first sets all the &#148;Use&#133;&#148; </span></div>
<div class=ts53p16><span class="ft5p53">properties individually and the second sets them all at once. </span></div>
<div class=ts53p18><span class="ft5p53"> </span></div>
<div class=ts53p19><span class="ft6p53">&#146;Set Seperately </span></div>
<div class=ts53p21><span class="ft6p53">oXMLParameters.UseCategories = True </span></div>
<div class=ts53p23><span class="ft6p53">oXMLParameters.UseRooms = True </span></div>
<div class=ts53p25><span class="ft6p53">oXMLParameters.UseProviders = True </span></div>
<div class=ts53p27><span class="ft6p53">oXMLParameters.UseNoDropAreas = True </span></div>
<div class=ts53p29><span class="ft6p53"> </span></div>
<div class=ts53p30><span class="ft6p53"> </span></div>
<div class=ts53p31><span class="ft6p53">&#146;Set all at once </span></div>
<div class=ts53p34><span class="ft6p53">Call oXMLParameters.UseAllCollections(True)<span class="ft5p53"> </span></span></div>
<div class=ts53p36><span class="ft5p53"> </span></div>
<div class=ts53p37><span class="ft5p53"> </span></div>
<div class=ts53p38><span class="ft5p53">The second code fragment is just easier to read and more compact. If some collections </span></div>
<div class=ts53p39><span class="ft5p53">are to be saved and not others, the &#148;Use&#133;&#148; properties must to be set separately. </span></div>
<div class=ts53p41><span class="ft5p53"> </span></div>
<div class=ts53p42><span class="ft5p53">The file format is a markup language. The file uses tags like HTML and XML. Each </span></div>
<div class=ts53p44><span class="ft5p53">element in a collection is saved, wrapped in its property name. This makes the file </span></div>
<div class=ts53p45><span class="ft5p53">easier to read than binary file. It may also be edited, if need be. Since the file is text, </span></div>
<div class=ts53p46><span class="ft5p53">other programs may be created to read, modify, or save schedules. An auxiliary </span></div>
<div class=ts53p48><span class="ft5p53">application may be created that generates a GbSchedule file that is read into the </span></div>
<div class=ts53p49><span class="ft5p53">GbSchedule ActiveX control. An example of the file tags is displayed here. The example </span></div>
<div class=ts53p50><span class="ft5p53">is a file fragment of that describes one appointment. </span></div>
<div class=ts53p53><span class="ft5p53"> </span></div>
<div class=ts53p54><span class="ft6p53">&#60;Appointment&#62; </span></div>
<div class=ts53p56><span class="ft6p53">&nbsp; &#60;Alarm&#62;False&#60;/Alarm&#62; </span></div>
<div class=ts53p58><span class="ft6p53">&nbsp; &#60;BackColor&#62;16777215&#60;/BackColor&#62; </span></div>
<div class=ts53p60><span class="ft6p53">&nbsp; &#60;BlackOut&#62;False&#60;/BlackOut&#62; </span></div>
<div class=ts53p62><span class="ft6p53">&nbsp; &#60;Category&#62;Category1&#60;/Category&#62; </span></div>
<div class=ts53p64><span class="ft6p53">&nbsp; &#60;DisplayText&#62;qwe&#60;/DisplayText&#62; </span></div>
<div class=ts53p66><span class="ft6p53">&nbsp; &#60;ForeColor&#62;0&#60;/ForeColor&#62; </span></div>
<div class=ts53p68><span class="ft6p53">&nbsp; &#60;Id&#62;0&#60;/Id&#62; </span></div>
<div class=ts53p70><span class="ft6p53">&nbsp; &#60;ItemData&#62;0&#60;/ItemData&#62; </span></div>
<div class=ts53p73><span class="ft6p53">&nbsp; &#60;StartDate&#62;1/2/02&#60;/StartDate&#62; </span></div>
<div class=ts53p76><span class="ft6p53">&nbsp; &#60;Length&#62;90&#60;/Length&#62; </span></div>
<div class=ts53p79><span class="ft6p53">&nbsp; &#60;MaxLength&#62;&#45;1&#60;/MaxLength&#62; </span></div>
<div class=ts53p83><span class="ft6p53">&nbsp; &#60;MinLength&#62;&#45;1&#60;/MinLength&#62; </span></div>
<div class=ts53p87><span class="ft6p53">&nbsp; &#60;Priority&#62;0&#60;/Priority&#62; </span></div>
<div class=ts53p89><span class="ft6p53">&nbsp; &#60;ReadOnly&#62;False&#60;/ReadOnly&#62; </span></div>
<div class=ts53p91><span class="ft6p53">&nbsp; &#60;Room&#62;Room1&#60;/Room&#62; </span></div>
<div class=ts53p93><span class="ft6p53">&nbsp; &#60;StartTime&#62;10:00:00 AM&#60;/StartTime&#62; </span></div>
<div class=ts53p95><span class="ft6p53">&nbsp; &#60;ScheduleCategories&#62; </span></div>
<div class=ts53p97><span class="ft6p53">&nbsp; &#60;/ScheduleCategories&#62; </span></div>
<div class=ts53p100><span class="ft6p53">&#60;/Appointment&#62;<span class="ft5p53"> </span></span></div>
<div class=ts53p102><span class="ft5p53"> </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
